package com.pengshun.modules.api.user.repository;

import com.pengshun.modules.domain.OwnerDriving;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;


public interface OwnerDrivingRepository extends JpaRepository<OwnerDriving, Long>, JpaSpecificationExecutor<OwnerDriving> {

    OwnerDriving findByDrivingUserIdAndCarUserId(Long drivingUserId,Long carUserId);

}
